package com.niit.mybatis_homework1.entity;

import java.util.Date;

public class Orders {
    private static final long serialVersionUID = -62366178075831396L;

    private String oid;
    /**
     * 创建时间
     */
    private Date creatTime;
    /**
     * 订单金额
     */
    private Integer money;
    /**
     * 订单创建者
     */
    private String username;


    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "oid='" + oid + '\'' +
                ", creatTime=" + creatTime +
                ", money=" + money +
                ", username='" + username + '\'' +
                '}';
    }
}
